package model;

public class Sprite extends ObjectRepresentation {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8634506401005027081L;
	protected Integer conditionalColumn = null;
	protected Integer conditionalRow = null;
	protected String path;

	public Sprite(String id, String path) {
		super();
		this.path = path;
		this.id = id;
	}
	
	public Sprite(String id, Integer conditionalColumn, Integer conditionalRow, String path) {
		super();
		this.id = id;
		this.conditionalColumn = conditionalColumn;
		this.conditionalRow = conditionalRow;
		this.path = path;
	}
	
	public Sprite() {
		super();
	}
	
	public Integer getConditionalColumn() {
		return conditionalColumn;
	}

	public void setConditionalColumn(Integer conditionalColumn) {
		this.conditionalColumn = conditionalColumn;
	}

	public Integer getConditionalRow() {
		return conditionalRow;
	}

	public void setConditionalRow(Integer conditionalRow) {
		this.conditionalRow = conditionalRow;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}
	
	@Override
	public String getId(int col, int row) {
		return id;
	}

	@Override
	public String getPath(int col, int row) {
		// TODO Auto-generated method stub
		return path;
	}

}
